package com.hpeng.sys.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.hpeng.sys.dao.SysUserAuthDao;
import com.hpeng.sys.model.SysUserAuth;
import com.hpeng.sys.service.SysUserAuthMgr;

@Component("sysUserAuthMgr")
public class SysUserAuthMgrImpl implements SysUserAuthMgr {

	public List<SysUserAuth> getSysUserAuths() {
		return sysUserAuthDao.getSysUserAuths();
	}

	public void add(SysUserAuth sysUserAuth) {
		sysUserAuthDao.save(sysUserAuth);
	}
	
	@Resource
	private SysUserAuthDao sysUserAuthDao;
}